package org.mijia.dotsbox.core;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface EntityField {
	
	public static final int STORE_NO = 0;
	public static final int STORE_YES = 1;
	public static final int STORE_COMPRESS = 2;
	
	public static final int INDEX_NO = 0;
	public static final int INDEX_TOKENNIZE = 1;
	public static final int INDEX_UNTOKENIZE = 2;
	
	String name();
	String valueType() default "java.lang.String";
	int store() default 1;
	int index() default 1;

}
